package com.cov.web.bean;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;

public class ChildrenBean implements Serializable {
    /**
     * name : 地区待确认
     * today : {"confirm":2102,"confirmCuts":0,"isUpdated":true}
     * total : {"nowConfirm":235706,"confirm":272235,"dead":5136,"showRate":false,"heal":31393,"showHeal":true,"wzz":0,"provinceLocalConfirm":0}
     */

    private String name;
    private TodayBeanXX today;
    private TotalBeanXX total;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public TodayBeanXX getToday() {
        return today;
    }

    public void setToday(TodayBeanXX today) {
        this.today = today;
    }

    public TotalBeanXX getTotal() {
        return total;
    }

    public void setTotal(TotalBeanXX total) {
        this.total = total;
    }

    public ChildrenBean() {
        super();
    }

    public ChildrenBean(String name, TodayBeanXX today, TotalBeanXX total) {
        this.name = name;
        this.today = today;
        this.total = total;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("name", getName())
                .append("today", getToday())
                .append("total", getTotal())
                .toString();
    }
}
